<?php
class ActivityConf_getActivityInfo {
	function getActivityInfo($game) {
		$gameLang = MooConfig::get('game_lang.zh_en');
		
		if($gameLang[$game]) {
			$game = $gameLang[$game];
		}
		
		$activity = MooObj::get('ActivityConf')->getActivityNames($game);
		if(!$activity) {
			return false;
		}
		
		return MooJson::encode($activity);
	}
}